package com.bluedot.www.core.pojo.VO;

import java.io.Serializable;
import java.sql.Date;
import java.sql.Timestamp;

/**
 * <p>
 * 客户历史记录视图实体
 * </p>
 *
 * @author zhouxuan
 * @since 2021-08-07
 */
public class ViewCustomerHistoryInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 客户id, 不为空则表示是客户
     */
    private Long customerId;

    /**
     * 客户是否存在未分析的记录(0：表示没有，1：表示有)
     */
    private Integer status;

    /**
     * 性格报告id
     */
    private Long characterReportId;

    /**
     * 笔迹图片,注意存储的是裁剪后的图片链接
     */
    private String handwritingImg;

    /**
     * 预处理后图片链接，为了再次展示给用户
     */
    private String pretreatmentImg;

    /**
     * 性格报告文件下载链接
     */
    private String reportLink;

    private Timestamp imgUploadTime;

    /**
     * 心理健康状态分数
     */
    private Integer score;

    /**
     * 笔迹图片书写时间
     */
    private Date writingTime;

    /**
     * 客户名称，字符2~10
     */
    private String name;


    /**
     * 性格报告概述
     */
    private String summary;

    /**
     * 年龄
     */
    private Date birthday;

    /**
     * 报告生成时间
     */
    private Timestamp reportUploadTime;


    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getCharacterReportId() {
        return characterReportId;
    }

    public void setCharacterReportId(Long characterReportId) {
        this.characterReportId = characterReportId;
    }

    public String getHandwritingImg() {
        return handwritingImg;
    }

    public void setHandwritingImg(String handwritingImg) {
        this.handwritingImg = handwritingImg;
    }

    public String getPretreatmentImg() {
        return pretreatmentImg;
    }

    public void setPretreatmentImg(String pretreatmentImg) {
        this.pretreatmentImg = pretreatmentImg;
    }

    public String getReportLink() {
        return reportLink;
    }

    public void setReportLink(String reportLink) {
        this.reportLink = reportLink;
    }

    public Timestamp getImgUploadTime() {
        return imgUploadTime;
    }

    public void setImgUploadTime(Timestamp imgUploadTime) {
        this.imgUploadTime = imgUploadTime;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public Date getWritingTime() {
        return writingTime;
    }

    public void setWritingTime(Date writingTime) {
        this.writingTime = writingTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Timestamp getReportUploadTime() {
        return reportUploadTime;
    }

    public void setReportUploadTime(Timestamp reportUploadTime) {
        this.reportUploadTime = reportUploadTime;
    }

    @Override
    public String toString() {
        return "ViewCustomerHistoryInfo{" +
                "customerId=" + customerId +
                ", status=" + status +
                ", characterReportId=" + characterReportId +
                ", handwritingImg='" + handwritingImg + '\'' +
                ", pretreatmentImg='" + pretreatmentImg + '\'' +
                ", reportLink='" + reportLink + '\'' +
                ", imgUploadTime=" + imgUploadTime +
                ", score=" + score +
                ", writingTime=" + writingTime +
                ", name='" + name + '\'' +
                ", summary='" + summary + '\'' +
                ", birthday=" + birthday +
                ", reportUploadTime=" + reportUploadTime +
                '}';
    }
}
